package org.spider;

import org.spider.schedule.ThreadSchedule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 15911
 */
@SpringBootApplication
public class SpiderNodeApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpiderNodeApplication.class, args);
        ThreadSchedule bean = run.getBean(ThreadSchedule.class);
        bean.scheduleUltraShortWave();
    }
}
